package com.yiqi.lottery.feature.documentary.contract;

import com.suozhang.framework.entity.bo.PageData;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.HallBo;
import com.yiqi.lottery.entity.bo.HallUserBo;
import com.yiqi.lottery.entity.bo.LotteryBo;
import io.reactivex.Observable;

import java.util.List;

public interface RankContract {

    interface Model {
        Observable<List<LotteryBo>> getRankList(int type,int page);
    }

    interface View extends BaseView {
        void showRankListSuccess(List<LotteryBo> hallBoPageData);
        void showRankListError(String ex);
        void showRankListEmpty();
        void showRankListMoreSuccess(List<LotteryBo> hallBoPageData);
        void showRankListMoreError(String ex);

    }


    interface Presenter extends BasePresenter {
        void getHallList(int type,int page);
        void getHallListMore(int type,int page);
    }
}
